package com.zimmur.dao.zone;


import java.util.TreeSet;

import com.zimmur.model.zone.SharedProperty;
import com.zimmur.model.zone.TopicCollect;
/**
 * 话题收藏Dao
 * @author Administrator
 *
 */
public interface ITopicCollectDao {
    /**
	 * 添加
	 * @param topic
	 */
    int insertTopicCollect(TopicCollect  topicCollec);
    /**
	 * 删除
	 * @param topic
	 */
    int deleteTopicCollect(TopicCollect  topicCollec);
    /**
	 * 修改
	 * @param topic
	 */
    int updateTopicCollect(TopicCollect  topicCollec);
    /**
	 * 查询
	 * @param topic
	 */
    TopicCollect selectTopicCollect(TopicCollect topicCollec);
    /**
     * 按CreateUser查询出我收藏的话题
     * @param sharedProperty
     * @return
     */
    TreeSet<Long>selectByCreateUserTopicCollectSet(SharedProperty sharedProperty);
}